package com.jic.market.mapper;

import java.lang.Long;
import java.util.List;

import com.jic.market.entity.DiscountProductSingleShareDetail;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 共享活动明细表（针对多品活动共享）
 * @author : 
 * @email : 
 * @since : 2020-05-09 03:05:53
 * @version : v1.0.0
 */
@Mapper
public interface  DiscountProductSingleShareDetailMapper {

    long insert(DiscountProductSingleShareDetail discountProductSingleShareDetail);

    long delete(Long id);

    long update(DiscountProductSingleShareDetail discountProductSingleShareDetail);

    DiscountProductSingleShareDetail queryByPrimaryKey(Long id);

    List<DiscountProductSingleShareDetail> query(DiscountProductSingleShareDetail discountProductSingleShareDetail);

    List<DiscountProductSingleShareDetail> queryPage(@Param("startIndex") int startIndex, @Param("limit") int limit, @Param("discountProductSingleShareDetail") DiscountProductSingleShareDetail discountProductSingleShareDetail);

    long queryPageCount(DiscountProductSingleShareDetail discountProductSingleShareDetail);
}